package com.qijian.maindata.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
public class ProductionPlanPreviewVo {

    /***
     * 需要计算的讲台号
     */
    private List<ProjectInfo> projectInfoList;

    /***
     * 开始机台号的id
     */
    private String startProjectId;

    @Data
    public static class ProjectInfo {
        @JsonSerialize(using= ToStringSerializer.class)
        private Long projectId;

        private Long step;

        @JsonSerialize(using= ToStringSerializer.class)
        private Long bomId;

        private String projectNo;

        private String machineNo;

    }
}
